<!DOCTYPE html>
<html >
<head>
<meta charset="utf-8">
<title>体检预约</title>

<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="css/mui.css">
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css/weui.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<script type="text/javascript" src="js/jquery-2.0.0.min.js"></script>
<style>
html,body{background:#fdfdfd;;}
.weui_cell:before {border-top: 1px solid #D9D9D9;}
p{margin-bottom:0;}
.mt50{margin-top:50px; display:block;}
.weui_cells_access .weui_cell_ft:after{    
height: 10px;
width: 10px;}

</style>
 <script type="text/javascript" src="js/utile.js"></script>
        <script type="text/javascript">
$(document).ready(function(){
// 	var isFamilyRes = getQueryStr("isFamilyRes");
// 	var isDwnldRpt = getQueryStr("isDwnldRpt");
	var isFamilyRes = sessionStorage.isFamilyRes;
	var isDwnldRpt = sessionStorage.isDwnldRpt;
	if(isFamilyRes == "1"){
		$(".isFamilyRes").show();
	} else {
		$(".isFamilyRes").hide();
	}
	if(isDwnldRpt == "1"){
		$(".isDwnldRpt").show();
	} else {
		$(".isDwnldRpt").hide();
	}
});
   function menu1(){  
	   jump();
   }
   function menu2(){  
	  window.location.href = "report.html";
   }
   function menu3(){  
	  window.location.href = "beforeFamily.html";
   }
   function menu4(){  
	  window.location.href = "modifyPassword.html";
   }
   function menu5(){  
	   var url = getURL() + "/mobile/logout";
		  var pram = {};
		  $.ajax({
			  type: 'POST',
			  url: url,
			  data: pram,
			  success: function(data){
				  window.location.href = "login.html";
			  },
			  dataType: "json"
			});
	   
   }
   function jump(){
		  var url = getURL() + "/mobile/toJump";
		  var pram = {};
		  $.ajax({
			  type: 'POST',
			  url: url,
			  data: pram,
			  success: function(data){
					switch (data.jumpNum) {
					case "1":
						window.location.href = "preview.html?type=1";
						break;
					case "2":
						window.location.href = "before.html";
						break;
					case "3":
						window.location.href = "order.html";
						break;
					}
			  },
			  dataType: "json"
			});
	}
</script>
</head> 

<body >
<header id="header" class="mui-bar mui-bar-nav"> <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color:#fff;"></a>
  <h1 class="mui-title">体检预约</h1>
</header>
<div class="container" style="padding:0;">
  <div class="weui_cells weui_cells_access">
                    <a onclick="menu1()" class="weui_cell" href="javascript:;">
                        <div class="weui_cell_hd"><span class="glyphicon glyphicon-pencil iconBlue" style="font-size:14px; padding-right:10px"></span></div>
                        <div class="weui_cell_bd weui_cell_primary">
                            <p style="color:#30a5ff;">预约体检</p>
                        </div>
                        <span class="weui_cell_ft"></span>
                    </a>
                    <a onclick="menu2()" class="weui_cell isDwnldRpt" href="javascript:;">
                        <div class="weui_cell_hd"><span class="glyphicon glyphicon-list-alt iconBlue" style="font-size:14px; padding-right:10px"></span></div>
                        <div class="weui_cell_bd weui_cell_primary">
                            <p style="color:#30a5ff;">体检报告</p>
                        </div>
                        <span class="weui_cell_ft"></span>
                    </a>
                    <a onclick="menu3()" class="weui_cell isFamilyRes" href="javascript:;">
                        <div class="weui_cell_hd"><span class="glyphicon glyphicon-heart-empty iconBlue" style="font-size:14px; padding-right:10px"></span></div>
                        <div class="weui_cell_bd weui_cell_primary">
                            <p style="color:#30a5ff;">家属预约</p>
                        </div>
                        <span class="weui_cell_ft"></span>
                    </a>
                    <a onclick="menu4()" class="weui_cell" href="javascript:;">
                        <div class="weui_cell_hd"><span class="glyphicon glyphicon-cog iconBlue" style="font-size:14px; padding-right:10px"></span></div>
                        <div class="weui_cell_bd weui_cell_primary">
                           <p style="color:#30a5ff;">修改密码</p>
                        </div>
                        <span class="weui_cell_ft"></span>
                    </a>
                    <a onclick="menu5()" class="weui_cell" href="javascript:;">
                        <div class="weui_cell_hd"><span class="glyphicon glyphicon-user iconBlue" style="font-size:14px; padding-right:10px"></span></div>
                        <div class="weui_cell_bd weui_cell_primary ">
                            <p style="color:#30a5ff;">退出</p>
                        </div>
                        <span class="weui_cell_ft"></span>
                    </a>
     
    </div>
</div>
</body>
</html>